package com.windchimes.edueval_platform;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("com.windchimes.edueval_platform.mapper")
@SpringBootApplication
//添加后才会去扫描Servlet部件
@ServletComponentScan
//让 Spring 容器自动管理事务
@EnableTransactionManagement
public class EduevalPlatformApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduevalPlatformApplication.class, args);

        System.out.println("项目启动成功了...(@_^)y");
    }

}
